home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: news.net99.net!zeus!news
- From: walker@mail.argo.net (robert walker)
- Subject: Help, gcc -> undefined reference to '_XmStrings'
- Message-ID: <DMKFI8.8Lr@argo.net>
- Sender: news@argo.net
- Nntp-Posting-Host: aegis10.argo.net
- Reply-To: walker@argo.net
- Organization: GTE
- X-Newsreader: WinVN 0.99.4
- Mime-Version: 1.0
- Date: Sat, 10 Feb 1996 15:10:56 GMT
-
- Hello any developers,
-
- I have the InfoMagic version of Motif, and I'm compiling with
- gcc 2.7.0.
- (this is on linux, which seems to be behaving fine running mwm and
- applications)
-
- When I compile w/
-
- gcc xmdemo.c -I/usr/X11R6/include -lXm -lXt -lXmu -lX11
-
- I get these bewildering errors
-
- /tmp/cca004061.o(.text+0x2f):undefined reference to '_XmStrings'
- /tmp/cca004061.o(.text+0x2f):undefined reference to
- 'XmStringCreate'
- ..
- ..
- Xm is the motif lib and so is Xmu
-
- I get these errors for all Motif functions I try to call from the source
- file
-
- But the Xt and X libs are found
-
- my #includes look like this
-
- #include <Xm/Xm.h>
- ..
- ..
-
-
- Please help if you know a solution
-
- Thanks
-
- walker@argo.net
-
-
-